<nb-card *ngIf="!(showFilter==false)">
  <nb-card-header>
    条件筛选
  </nb-card-header>
  <nb-card-body>
    <input nbInput class="margin" type="text" placeholder="设备编号" [(ngModel)]="devNo">
    <input nbInput class="margin" type="text" placeholder="操作类型" [(ngModel)]="action">
    <input nbInput class="margin" placeholder="起始日期" [nbDatepicker]="startPicker" [(ngModel)]="startTime">
    <nb-datepicker #startPicker format="yyyy-MM-dd"></nb-datepicker>
    -
    <input nbInput class="margin" placeholder="结束如期" [nbDatepicker]="endPicker" [(ngModel)]="endTime">
    <nb-datepicker #endPicker format="yyyy-MM-dd"></nb-datepicker>
    <button nbButton class="margin" status="info" (click)="filter()">搜索</button>
  </nb-card-body>
</nb-card>
<nb-card>
  <nb-card-header>
    操作日志
  </nb-card-header>
  <nb-card-body>
    <ng2-smart-table [settings]="settings" [source]="source">
    </ng2-smart-table>
  </nb-card-body>
</nb-card>
